<html>
<body>
    Reports redundant semicolons (<code>;</code>) that can be safely removed.
<p>
    Kotlin does not require a semicolon at the end of each statement or expression.
    The quick-fix is suggested to remove redundant semicolons.
</p>
<p><b>Example:</b></p>
<pre><code>
  val myMap = mapOf("one" to 1, "two" to 2);
  myMap.forEach { (key, value) ->  print("$key -> $value")};
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  val myMap = mapOf("one" to 1, "two" to 2)
  myMap.forEach { (key, value) ->  print("$key -> $value")}
</code></pre>

<p>There are two cases though where a semicolon is required:</p>
<ol>
    <li>
        Several statements placed on a single line need to be separated with semicolons:
<pre><code>
  map.forEach { val (key, value) = it; println("$key -> $value") }
</code></pre>
    </li>
    <li>
        <code>enum</code> classes that also declare properties or functions, require a semicolon after the list of enum constants:
        <pre><code>
  enum class Mode {
      SILENT, VERBOSE;

      fun isSilent(): Boolean = this == SILENT
  }
        </code></pre>
    </li>
</ol>
</body>
</html>